package com.lixixi.tingshu.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//取消数据源自动配置
@EnableDiscoveryClient
@ComponentScan("com.lixixi.tingshu")
@EnableFeignClients(basePackages = "com.lixixi.tingshu.*.api") //启用feign客户端,定义服务+绑定接口，以声明式的方法优雅而简单的实现服务调用
public class SearchMain8554 {
	public static void main(String[] args) {
		SpringApplication.run(SearchMain8554.class,args);
	}
}
